package cn.edu.neusoft.yuejian12.Service;

import android.app.Activity;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by 木子李 on 2017/10/20.
 */

public interface ActivityService {
    @GET("lists/mod/activity")
    Call<List<cn.edu.neusoft.yuejian12.JavaBean.Activity>> getAllActivity();
    /**
     * 首页推荐列表活动详情
     * */
    @POST("get/mod/activity/")
    Call<cn.edu.neusoft.yuejian12.JavaBean.Activity> getActivityInfo(@Query("id") String id);

}

